text = "killshadow"
key = "adsfkndcls"
v3 = 0
v5 = len(key)
n = 0
flag = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

for i in range(0, 10):
    for j in range(0, 10):
        v1 = (ord(text[j]) - 97) + 26 * i + ord(key[v3 % v5]) - 58
        if (v1 > 65 and v1 <= 90) or (v1 >= 97 and v5 <= 122):
            flag[j] = chr(v1)
            n = n + 1
            if n == 10:
                print(flag)
                break
        v3 = v3 + 1
